<template>
  <el-area-picker v-model="area" @tab="tabHandle" @change="changeHandle" placeholder="请选择地址"></el-area-picker>
</template>

<script>
  export default {
    data() {
      return {
        area: '15990'
      };
    },
    methods: {
      changeHandle(code, { level, province, city, district }) {
        console.log('change:', code, level, province, city, district)
      },
      tabHandle(code, { level, province, city, district }) {
        console.log('tab:', code, level, province, city, district)
      }
    }
  }
</script>
